package com.github.pig.nideshop.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.github.pig.nideshop.entity.NideshopSubscribe;
import com.baomidou.mybatisplus.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author J神
 * @since 2018-06-13
 */
public interface INideshopSubscribeService extends IService<NideshopSubscribe> {
    /**
     * 查询可预约时间
     * adminId
     * @param nideshopSubscribe
     * @return
     */
    List<String> allowTime(NideshopSubscribe nideshopSubscribe);

    /**
     * adminId
     * userId
     * productId
     * subscribeDay
     * @param nideshopSubscribe
     * @return
     */
    NideshopSubscribe create(NideshopSubscribe nideshopSubscribe);


}
